#include "TCPKernel.h"

int main(int argc,char *argv[])
{

    //TcpKernel * pKernel = new TcpKernel;
    std::unique_ptr<TcpKernel> pKernel(new TcpKernel);
    if (pKernel->Open())
    {
        printf("Server Running...\n");
        while(1)
        {
            sleep(_DEF_TIMEOUT*3);
        }
    }
    pKernel->Close();
    return 0;
}
